import React, { Suspense } from 'react'

const LazyLoad = (Comp: React.LazyExoticComponent<any>): React.ReactNode => (
    <Suspense
        fallback={
                <span>不行啊</span>
        }
    >
        <Comp />
    </Suspense>
)

export default LazyLoad
